<style>
#sidebar-menu .active {
	color: #fff;
	background-color: #146FDB;
}

.view {
	background-color: #fff;
	width: 206px;
	height: 40px;
	margin-bottom: 4px;
}

.view a {
	font-size: 14px;
	display: block;
	background-color: #fff;
	width: 206px;
	height: 40px;
	padding-top: 8px;
	margin-bottom: 4px;
	padding-left: 50px;
}

.view:hover a {
	background-color: #CCC;
	color: #146FDB;
}
</style>
<div>
	<div id="sidebar-menu" class="sidebar-menu">
		<div class="view">
			<a href="${base}/member/account/baseInfo.html">基本信息</a>
		</div>
		<div class="view">
			<a href="${base}/member/account/accountSafe.html">账号安全</a>
		</div>
		<div class="view">
			<a href="${base}/member/account/accountBinding.html">账号绑定</a>
		</div>
		<div class="view">
			<a href="${base}/member/comment/mine/list.html">我的评论</a>
		</div>
	</div>
</div>
<script type="text/javascript">
	$(function(){
	    resetSidebarSelected();
    })

    function resetSidebarSelected(){
	    var sessionUri = "${Session.sidebarUri!}";
	    if(sessionUri != undefined){
		    $('#sidebar-menu div a').each(function(){
			    var sideUrl = $(this).attr('href');
			    sideUrl = sideUrl.replace('javascript:clickMainNav(\'', '');
			    sideUrl = sideUrl.replace('\')', '');
			    if(sideUrl == sessionUri){
				    $(this).addClass('active');
			    }else{
				    $(this).removeClass('active');
			    }
		    });
	    }
    }
   /*  function clickMainNav(uri){
	    window.location = "${base}/member/redirect.html?sidebarUri=" + uri;
    } */
</script>